/*
 * @Description:
 * @Version: 2.0
 * @Autor: Seven
 * @Date: 2023-09-21 13:44:28
 * @LastEditors: Seven
 * @LastEditTime: 2023-10-26 15:25:27
 */
import React from "react";
import ReactDOM from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux";
import zhCN from "antd/locale/zh_CN";
import "dayjs/locale/zh-cn";

import App from "./App";
import "@/assets/css/index.css";
import "./index.module.css";
import store from "./store";
import { ConfigProvider } from "antd";
const root = ReactDOM.createRoot(
  document.getElementById("root") as HTMLElement
);
root.render(
  <BrowserRouter>
    <Provider store={store}>
      <ConfigProvider locale={zhCN}>
        <App />
      </ConfigProvider>
    </Provider>
  </BrowserRouter>
);
